(${input$entity} instanceof LivingEntity _livEnt${cbi} && _livEnt${cbi}.isSleeping())